package com.csdj.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.csdj.server.pojo.Employee;
import com.csdj.server.pojo.RespBean;
import com.csdj.server.pojo.RespPageBean;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ZouLi
 * @since 2022-12-12
 */
public interface IEmployeeService extends IService<Employee> {

    RespPageBean getEmployeeByPage(Integer page, Integer limit, Employee employee, LocalDate[] beginDateScope);

    RespBean getMaxWorkId();

    RespBean insetEmployee(Employee employee);

    List<Employee> getEmployeeById(Integer id);

    RespPageBean getEmployeeWithSalary(Integer page, Integer limit);
}
